import Koa from 'koa'

const app = new Koa();

app.use(async (ctx,next)=>{
    await next()
    ctx.response.body = 'koa1111111112222成功使用'
    console.log(1);
})
app.use(async (ctx,next)=>{
    // await next()
    ctx.response.body = 'koa成功使用'
    console.log(2);
})
app.use(async (ctx,next)=>{
    await next()
    ctx.response.body = '用koa1111成功使'
    console.log(3);
})

app.listen(3456)
